Repository navigation
Conversation
corbob
force-pushed
the
3785-macos-latest
branch
3 times, most recently
from
November 6, 2026 22:56
177c07e to
15b17d5
Compare
The macos-14 runner images were retired from GitHub Actions on November 2, 2026, so the macOS jobs pinned to them can no longer run. The macos-latest image is Arm64 and does not include Mono. Install Mono from the official universal package, which runs as x64 under Rosetta. Homebrew's Mono runs Arm-native, where the LibGit2Sharp 0.27 used by Cake.Git cannot load, as it has no osx-arm64 library. Also include the runner architecture in the tools cache key, so tools restored on one architecture are never run on another.
corbob
force-pushed
the
3785-macos-latest
branch
from
November 6, 2026 23:47
15b17d5 to
cfe7686
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: This PR is draft as I need it to run in GitHub Actions to see if it's fixed the build.
Description Of Changes
macos-buildjob in.github/workflows/build.ymland.github/workflows/test.ymlfromruns-on: macos-14toruns-on: macos-latest.Install Monostep to both macOS jobs that runsbrew install monoand thenmono --version. It runs before the dotnet setup, the same way the Ubuntu jobs install Mono before building.Motivation and Context
The macOS jobs were pinned to
macos-14in 17682ea as a temporary workaround. Newer macOS runner images don't include Mono, so the build couldn't run on them.That workaround no longer works: GitHub retired the
macos-14images on November 2, 2026, so the pinned jobs can no longer run.macos-latestnow points to the macOS 26 Arm64 image. That image still doesn't include Mono, but it does include Homebrew, and the Homebrewmonoformula (6.14.1) has a ready-built package for macOS 26 on Arm64. Installing Mono at the start of the job lets the builds run onmacos-latest, so they will keep up with future runner image updates instead of being pinned to a version that will be retired.Testing
macos-buildjob in the Chocolatey Builds workflow on this PR. That run onmacos-latestis the test for this change.test.yml) by hand and record themacos-buildresult. It only runs on a schedule or by manual dispatch, so the PR won't run it automatically.Operating Systems Testing
macos-latestrunner, through this PR's CI. TODO(author): confirm once the run completes.Change Types Made
Change Checklist
Related Issue
Fixes #3785